/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.tnmk.worktime.gui.tbl;

import java.awt.event.ActionListener;
import org.apache.log4j.Logger;

/**
 *
 * @author tnmkhoi
 */
public class EditDeleteCellEditor extends BaseCellEditor<EditDeleteCellPanel> {

  private static final Logger log = Logger.getLogger(EditDeleteCellEditor.class);

  public EditDeleteCellEditor() {
    comp = new EditDeleteCellPanel();
  }

  public void addEditListener(ActionListener actionListener) {
    comp.jbtnEdit.addActionListener(actionListener);
  }

  public void addDeleteListener(ActionListener actionListener) {
    comp.jbtnDelete.addActionListener(actionListener);
  }
}
